<%@ include file="/header.jsp" %>
<br /><br />
		<ul style="padding-left: 450px;">
			<c:forEach items="${errors}" var="error">
				<li>${error.category} - ${error.message}</li>
			</c:forEach>
		</ul>

<form class="forms" action="<c:url value="/login"/>" method="POST">
	<fieldset>
		<legend>Log in</legend>

		<table style="margin: 20px auto;">
				<tr>
					<td>
						<label for="login"><fmt:message key="login"/>:</label> 
					</td>
					<td>
						<input id="login" type="text" name="usuario.login" value="${usuario.login }"/>
					</td>
				</tr>
				<tr>
					<td>
						 <label for="senha"><fmt:message key="password"/>:</label>
					</td>
					<td>
						<input id="senha" type="password" name="usuario.senha" />
					</td>
				</tr>
				<tr>
					<td>
					</td>
					<td>
						<button type="submit"><fmt:message key="send"/></button>
					</td>
				</tr>
		</table>

	</fieldset>
</form>

<%@ include file="/footer.jsp" %> 